#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
my_strcmp(char* s1, char* s2) {
	assert(s1||s2);
	while (*s1 == *s2) {
		
			s1++;
			s2++;
			if (*s1 == *s2 && *s2 == '\0') {
				return 0;
			

		}
	}
	if (*s1 > *s2) {
		return 1;
	}
	else if(*s1<*s2){
		return -1;
	}

}
int main() {
	char arr1[5] = "anem";
	char arr2[12] = "aned";
	 int ret =my_strcmp(arr1, arr2);
	 printf("%d",ret);
	return 0;
}